package com.zhg.shortlink.constant;

/**
 * @author 朱洪刚
 * @version 1.0
 * @data 2025/10/21 09:18
 */
public class RedisKeyConstants {
    private static final String CACHE_PREFIX = "shortlink:";

    // 布隆过滤器相关key
    public static final String BLOOM_FILTER_NAME = "shortlink_bloom_filter"; // Redisson布隆过滤器名称
    public static final String BLOOM_SET_KEY = CACHE_PREFIX + "bloom"; // Redis Set key（用于同步）

    // 缓存相关key
    public static final String URL_CACHE_KEY = CACHE_PREFIX + "url:";
    public static final String COUNT_CACHE_KEY = CACHE_PREFIX + "count:";
}
